package com.itheima.health.dao;

import com.github.pagehelper.Page;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface OrderSettingDao {

    void add(OrderSetting ordersetting);

    long findByOrderDate(Date orderDate);

    void update(OrderSetting ordersetting);

    List<OrderSetting> find(@Param("first") String first,@Param("last") String last);

    void updateNumberByOrderDate(OrderSetting orderSetting);


    OrderSetting findOrderSettingByOrderDate(Date parseString2Date);

    void updateByOrderDate(OrderSetting orderSetting);
}
